package com.chixing.day14_map;

import java.util.Date;

public class Student {
    private int stuId;
    private String stuName;
    private String stuPro;
    private int stuAge;
    private Date date;

    public Student(){}
    public Student(int stuId, String stuName, String stuPro, int stuAge, Date date) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuPro = stuPro;
        this.stuAge = stuAge;
        this.date = date;
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuPro() {
        return stuPro;
    }

    public void setStuPro(String stuPro) {
        this.stuPro = stuPro;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuPro='" + stuPro + '\'' +
                ", stuAge=" + stuAge +
                ", date=" + date +
                '}';
    }
}
